package com.test.auth_db_auto.support.code;

import lombok.Data;

/**
 * @ Author: .Mr
 * @ ClassName VerificationCode
 * @ Description TODO
 * @ date 2021/12/25 16:25
 * @ Version 1.0
 * 验证码主体
 */
@Data
public class VerificationCode<T> {

    private T content;    //内容
    private long expirationTime;  //过期时间

    public VerificationCode(){}
    public VerificationCode(T content, long expirationTime) {
        this.content = content;
        this.expirationTime = expirationTime;
    }

}
